package com.learn.design.strategy;

import org.springframework.beans.factory.InitializingBean;

import java.math.BigDecimal;

/**
 * 策略模式
 */
public abstract class CalculateHandler implements InitializingBean {

    public BigDecimal calculate(String name){
        throw new RuntimeException();
    }

    public BigDecimal aaa(String name){
        throw new RuntimeException();
    }

}
